import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/css/global.css'
import './assets/icon/iconfont.css'
import store from './store/index';

import {Alert} from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(Alert);

import preview from 'vue-photo-preview'
import 'vue-photo-preview/dist/skin.css'
let options = {
  fullscreenEl: false
};
Vue.use(preview, options)
Vue.use(preview)

// import VueSocketIO from 'vue-socket.io'
// import SocketIO from 'socket.io-client'



// Vue.use(new VueSocketIO({
//   debug: true,
//   connection: SocketIO('http://localhost:8000/')
//   }))


Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
